<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta content="App Inventor for Android" name="description">
    <meta content="Android, Blocks App Inventor, Mobile, Phone, IDE" name="keywords">
    <title>
      Setup: Windows drivers
    </title>
    <link href="../../static/images/appinventor-16.png" rel="SHORTCUT ICON" type="image/ico">
    <link href="../../static/images/appinventor-16.png" rel="icon" type="image/png">
    <link href="../../static/css/appinventor.css" rel="stylesheet" type="text/css">
<!-- ADD Google Analytics here -->
<!-- END Google Analytics here -->
    <style type="text/css">
img.c2 {border-width:0}
    div.c1 {clear:both;}
    </style>
  </head>
  <body>
    <div id="aiac">
      <div class="main-container">
        <div class="header">
          <div class="header-title">
            <a href="../../about/index.html"><img alt="" src="../../static/images/appinventor_logo.gif"></a>
          </div>
            <div class="header-search">
<!-- ADD Google Custom Search -->
<!-- END Google Custom Search -->
              <div class="header-search-query">
              </div>
              <div class="header-search-button">
              </div>
            </div>
          <div class="header-login">
            <div class="header-login-greeting">
              Learn about App Inventor
            </div>
          </div>
        </div>
        <div class="customhr customhr-green"></div>
<!-- ADD Google Search Results -->
<!-- END Google Search Results -->
        <div id="navigation">
          <div id="navigation-links">
            <div class="navigation-link-option" id="navigation-link-home">
              <a href="../../about/index.html">About</a>
            </div>
            <div class="navigation-link-option navigation-link-active" id="navigation-link-learn">
              <a href="../../learn/index.html">Learn</a>
            </div>
            <div class="navigation-link-option" id="navigation-link-forum">
              <a href="../../forum/index.html">Forum</a>
            </div>
            <div class="navigation-link-option" id="navigation-link-myappinventor">
              <a href="">My Projects</a><div>(coming soon)</div>
            </div>
          </div>
          <div id="navigation-breadcrumb">
            <a href="../index.html">Learn</a> &gt; <a href="index.html">Setup</a> &gt; <a href="setupwindows.html">Windows</a> &gt; Windows drivers &gt;
          </div>
          <div class="c1"></div>
        </div>
        <div class="customhr customhr-gray"></div>
        <div class="content">
          <div class="content-body">
            <div class="learn-page">
              <h1>
                Windows Drivers for Android Phones
              </h1>
              <p>
                The AppInventor Setup software includes the <a href="http://developer.android.com/sdk/win-usb.html">Google USB driver</a>, which handles the following devices:
              </p>
              <ul>
                <li>T-Mobile G1* / ADP1
                </li>
                <li>T-Mobile myTouch 3G* / Google Ion / ADP2
                </li>
                <li>Verizon Droid (not Droid X)
                </li>
                <li>Nexus One<br>
                </li>
                <li>Nexus S<br>
                </li>
              </ul>If your phone is on of these, then the driver should have been installed along with the AppInventor Setup software. All other devices will require you to obtain and install a USB driver from the device manufacturer. In either case it's a good idea to check the driver installation, as described below, before proceeding.
              <p>
                You can find links to drivers for many Android devices at <a href="http://developer.android.com/sdk/oem-usb.html">http://developer.android.com/sdk/oem-usb.html</a>. If your device is not listed, we recommend you search the manufacturer's website for information on how to install drivers for your particular phone and/or review these resources:
              </p>
              <ul>
                <li>
                  <a href="https://groups.google.com/group/android-developers">Android Developers Google Group</a> and <a href="https://groups.google.com/group/android-beginners">Android Beginners Google Group</a>: Search under terms like "Android SDK", "drivers", "install", and the name of your device.
                </li>
                <li>
                  <a href="https://groups.google.com/forum/#topic/getting-started-with-app-inventor/Pq6zM4QA7Zs/discussion">Thread on drivers</a> from the App Inventor community forum
                </li>
                <li>
                  <a href="https://sites.google.com/site/theairepository/faq/troubleshooting/graybutton?pli=1#TOC-where-to-get-drivers-for-various-ph">User Generated Documentation</a> (sites.google.com/site/theairepository/faq/troubleshooting/graybutton?pli=1#TOC-where-to-get-drivers-for-various-ph)
                </li>
              </ul>
              <blockquote class="notice">
                <p>
                  In following the manufacturer instructions, note that you do not need to install the complete Android SDK, just the drivers for your device. The other parts of the SDK were installed when you installed the App Inventor Setup software.
                </p>
              </blockquote>
              <blockquote class="notice">
                <p>
                  Checking and installing the drivers requires facility with using the Windows command line and the Windows device manager. If you are not experienced using Windows in this way, you may want to get help with this. You can also ask for advice in the <a href="../../forum/index.html">App inventor Forum</a>
                </p>
              </blockquote>
              <h2>
                Checking the driver installation:
              </h2>
              <p>
                It's been our experience that the Windows drivers do not always correctly install automatically. Here's how to check the driver:
              </p>
              <ul>
                <li>Open a Command Prompt window and navigate to the directory where the software was installed. For example, if you installed the Setup software as an administrator, and this is a 32-bit system, the directory should be C:\Program Files\AppInventor\commands-for-Appinventor, or Program Files (x86) for a 64-bit system.
                </li>
                <li>Type the "dir" command and check that one of the files listed is adb.exe. If it's not, then you are in the wrong directory or the software didn't install.
                </li>
                <li>Plug your phone into one of your computer's USB slots, making sure that the phone shows USB connected and USB debugging connected.
                </li>
                <li>Type the command "adb devices". You should see the messages "daemon not running" followed by "daemon stated successfully", followed by "list of devices attached". If there is a device in the list, something like HT99TP800054, then the phone is connected and the computer and the phone can communicate and the drivers should be OK.
                </li>
                <li>On the other hand, if the list of devices is blank, you'll have to get additional drivers, or install the existing drivers manually.
                  <blockquote class="notice">
                    Try unplugging and replugging the phone into your computer and trying the "adb devices" command again before getting or installing device drivers, as sometimes that is sufficient to make the connection work.
                  </blockquote>
                </li>
              </ul>
              <h2>
                Installing the App Inventor Setup drivers manually:
              </h2>
              <p>
                The AppInventor Setup software includes the <a href="http://developer.android.com/sdk/win-usb.html">Google USB driver</a>, as noted above. If your device is one of the ones that the driver handles, the drivers should have been installed automatically, and the driver installation should check out as described above.
              </p>
              <p>
                If the check fails, and you need to install the Google drivers manually. You can find instructions <a href="http://developer.android.com/sdk/win-usb.html#InstallingDriver">here</a>. In following the instructions, note that you do not need to install the SDK or download the drivers again — they were included with the App Inventor Setup software, and you can find them in the App Inventor software directory in the usb_driver sub-folder of the appinventor-setup folder where the installer placed the software, for example C:\Program Files\AppInventor\commands-for-Appinventor\usb_driver.
              </p>
              <p>
                The directions for installing the Google USB drivers may also help if you have trouble with a manufacturer's driver, but in general, you might need to search on the Web for help in the various Android developer forums.
              </p>
              <h2>
                Other issues
              </h2>
              <p>
                If the drivers are installed, and you see the phone listed by "adb devices", but App Inventor still won't connect, then you should ask in the <a href="../../forum/index.html">App Inventor Forum</a>. Some devices may require special extra steps, or there may be some other issue. If you find (or solve) issues with other devices, please post to the Forum so that other App Inventor users can benefit from your experience.
              </p>
              <blockquote class="notice">
                Something not working right? Visit the <a href="../troubleshooting.html">troubleshooting page</a>, or check the <a href="../../forum/index.html">App Inventor User Forum</a> for help.
              </blockquote>
            </div>
          </div>
        </div>
        <div class="footer">
          <div class="footer-legal">
            <p>
              <a href="http://creativecommons.org/licenses/by/3.0/" rel="license"><img alt="Creative Commons License" class="c2" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
              This work is licensed under a <a href="http://creativecommons.org/licenses/by/3.0/" rel="license">Creative Commons Attribution 3.0 Unported License</a> .
            </p>
            <p>
              The original work by Google has been modified<br>
              <!-- The modified work was translated from English to [language]<br> -->
              <a href="../../about/index.html">About</a> | <a href="../../about/privacy.html">Privacy</a> | <a href="../../about/termsofservice.html">Terms</a>
            </p>
          </div>
          <div class="footer-lastupdate">
            <script type="text/javascript">
if (document.lastModified != '') {
                var m = "Page last updated: " + document.lastModified;
                var p = m.length-8;
                document.writeln("<center>");
                document.write(m.substring(p, 0));
                document.writeln("<\/center>");
              }
            </script>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
